package cn.edu.ujn.booksshop.dao;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import cn.edu.ujn.booksshop.dao.Author;

public interface AuthorMapper {
    int deleteByPrimaryKey(Integer authorid);

    int insert(Author row);

    int insertSelective(Author row);

    Author selectByPrimaryKey(Integer authorid);

    int updateByPrimaryKeySelective(Author row);

    int updateByPrimaryKeyWithBLOBs(Author row);

    int updateByPrimaryKey(Author row);
    
    List<Author> selectAll(@Param("page") Integer page,@Param("rows") Integer rows,@Param("authorName") String authorName);

    Integer selectAuthorListCount();
}